---克拉拉大招结束后如果击杀了目标再次释放该技能
---@class SkillEffect322101:BaseSkillEffect
SkillEffect322101 = ClientFight.CreateClass("SkillEffect322101",ClientFight.BaseSkillEffect)
local t = SkillEffect322101
---@param skill FightUsingSkill
function t:finishSkill(skill,breakin)
    if (breakin) then
        return false;
    end
    if (skill.parentSkill == nil) then
        return false;
    end
    local parentSkill1 = skill.parentSkill.parentSkill
    if (parentSkill1 ~= nil and parentSkill1 ~= skill.parentSkill) then
        return false;
    end
    local scriptParameter = skill.skill.skillBean.getF_SkillScriptParameter();
    local fight = skill.fight
    local fighter = skill.fighter
    local target = skill.target
    if (target:isDie()) then
        local skillId = skillparentSkill.skill.skillBean.f_SkillID
        SkillRoleMgr.savePathFile( string.format("[%s][SKILL]Fighter%s的技能结束击杀了目标%s,再次释放技能%s",
                fight.frame, fighter.fighterId, target.fighterId, skillId
         ));
        ---@type FightUsingSkill
        local parentSkill = FightUsingSkill.New();
        parentSkill.fight = fight
        parentSkill.fighter = fighter
        parentSkill.target = target
        parentSkill.position = Vector2(fighter.position.x,fighter.position.y)

        SkillManager.triggerSkill(skill, nil, skillId);
    end
    SkillRoleMgr.savePathFile( string.format("[%s][SKILL]Fighter%s的技能结束没有击杀了目标%s",
    fight.frame, fighter.fighterId, target.fighterId
    ));
    return false;
end

t.New()
